package com.itheima.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: zhuan
 * @Desc: 客户-实体类
 * @Date: 2022-05-22 14:10:13
 */
@Data
@TableName("user")
public class User implements Serializable {

    private Long id;

    private String name;

    private String phone;

    private String sex;

    private String idNumber;

    private String avatar;

    private Integer status;
    @JSONField(format = "yyyy-MM-dd")
    private LocalDate createDate;
}
